import request from '@/utils/request'


// 获取优惠发放列表
export function getCoupon(query) {
  return request({
    url: '/activity/activity/coupon/list',
    method: 'get',
	  params: query
  })
}

// 领取优惠卷
export function postCouponGet(data) {
  return request({
    url: '/activity/activity/couponGet/save',
    method: 'post',
    data: data
  })
}


// 获取我的优惠卷
export function getUserCoupon(query) {
  return request({
    url: '/activity/activity/couponGet/list',
    method: 'get',
	  params: query
  })
}
